package com.xunk.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xunk.common.core.annotation.Excel;
import com.xunk.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 访客记录对象 sys_visitor_log
 * 
 * @author ruoyi
 * @date 2021-03-16
 */
public class SysVisitorLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long visitorId;

    /** 到访目标地址 房屋id */
    @Excel(name = "到访目标地址 房屋id")
    private Long homeId;

    /** 访客姓名 */
    @Excel(name = "访客姓名")
    private String visitorName;

    /** 访客性别（0男 1女 2未知） */
    @Excel(name = "访客性别", readConverterExp = "0=男,1=女,2=未知")
    private Integer visitorSex;

    /** 是否驾车 0-否 1-是 */
    @Excel(name = "是否驾车 0-否 1-是")
    private String isDrive;

    /** 到访日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到访日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date visitorDate;

    /** 是否推送给物业 0-否 1-是 */
    @Excel(name = "是否推送给物业 0-否 1-是")
    private String isSend;

    /** $column.columnComment */
    @Excel(name = "是否推送给物业 0-否 1-是")
    private String passQrCode;
    /**
     *  车牌号码
     */
    private String carNum;

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }

    public void setVisitorId(Long visitorId)
    {
        this.visitorId = visitorId;
    }

    public Long getVisitorId() 
    {
        return visitorId;
    }

    public Long getHomeId() {
        return homeId;
    }

    public void setHomeId(Long homeId) {
        this.homeId = homeId;
    }

    public void setVisitorName(String visitorName)
    {
        this.visitorName = visitorName;
    }

    public Integer getVisitorSex() {
        return visitorSex;
    }

    public void setVisitorSex(Integer visitorSex) {
        this.visitorSex = visitorSex;
    }

    public String getVisitorName()

    {
        return visitorName;
    }
    public void setIsDrive(String isDrive)
    {
        this.isDrive = isDrive;
    }

    public String getIsDrive() 
    {
        return isDrive;
    }
    public void setVisitorDate(Date visitorDate) 
    {
        this.visitorDate = visitorDate;
    }

    public Date getVisitorDate() 
    {
        return visitorDate;
    }
    public void setIsSend(String isSend) 
    {
        this.isSend = isSend;
    }

    public String getIsSend() 
    {
        return isSend;
    }
    public void setPassQrCode(String passQrCode) 
    {
        this.passQrCode = passQrCode;
    }

    public String getPassQrCode() 
    {
        return passQrCode;
    }
}
